package com.aspose.cells;

class zbtj implements zaif {
   private zbo a;
   private com.aspose.cells.b.a.b.zg b;
   private Color c;
   private String d;
   private boolean e = true;
   private int f;
   private boolean g = true;
   private int h;
   private boolean i;
   private int j = 0;
   private boolean k = false;
   private int l = 0;
   private boolean m = false;

   zbtj(zbo var1) {
      this.a = var1;
      this.c = Color.getBlack();
      this.d = "";
      this.f = 100;
      this.h = 0;
   }

   zbo f() {
      return this.a;
   }

   public com.aspose.cells.b.a.b.zg a() {
      if (this.b == null) {
         this.b = zbuk.a(this.f().c().Z());
         this.a(this.a.c().aa());
      }

      return this.b;
   }

   public void a(com.aspose.cells.b.a.b.zg var1) {
      this.b = var1;
   }

   public Color g() {
      return this.c;
   }

   public void a(Color var1) {
      this.c = var1;
   }

   public String b() {
      return this.d;
   }

   public void a(String var1) {
      this.d = var1;
   }

   public boolean h() {
      return this.e;
   }

   public void a(boolean var1) {
      this.e = var1;
   }

   public int c() {
      return this.f;
   }

   public void a(int var1) {
      this.f = var1;
   }

   public int d() {
      return this.g ? 0 : this.h;
   }

   public void b(int var1) {
      this.h = var1;
      this.g = false;
   }

   public boolean i() {
      return this.i;
   }

   public boolean j() {
      return this.g;
   }

   public void c(boolean var1) {
      this.g = var1;
      if (var1) {
         this.h = 0;
      }

   }

   public void b(boolean var1) {
      this.k = var1;
   }

   public int e() {
      return this.l;
   }

   public void c(int var1) {
      this.l = var1;
   }

   int k() {
      return this.j;
   }

   void d(int var1) {
      this.j = var1;
   }

   float l() {
      return (float)zbuk.a((double)this.a.c().ap().a().a(this.a()));
   }

   protected void finalize() throws Exception {
      this.d(false);
   }

   public void m() {
      this.d(true);
      com.aspose.cells.b.a.zg.a(this);
   }

   protected void d(boolean var1) {
      if (!this.m) {
         if (var1 && this.b != null) {
            this.b.n();
         }

         this.m = true;
      }

   }
}
